Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLMG: Minimum domain width #4129

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

WeiqunZhang
Copy link
Member

By default, the minimum domain width at the coarsest multigrid level is 2 and 4, for non-EB and EB runs, respectively. Previously, it was set to 4 for runs compiled with EB support but without EB at run time. So the results of those runs would be different from runs not compiled with EB support. This is not a correctness issue. Nevertheless, for the sake of consistence, we set the minimum domain width to 4 only if there is non-trivial EB at run time.

By default, the minimum domain width at the coarsest multigrid level is 2
and 4, for non-EB and EB runs, respectively. Previously, it was set to 4 for
runs compiled with EB support but without EB at run time. So the results of
those runs would be different from runs not compiled with EB support. This
is not a correctness issue. Nevertheless, for the sake of consistence, we
set the minimum domain width to 4 only if there is non-trivial EB at run
time.
@ax3l ax3l self-assigned this Sep 4, 2024
@ax3l
Copy link
Member

ax3l commented Sep 4, 2024

Thanks a lot, testing in ECP-WarpX/WarpX#4865 now.

Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, that solves the discrepancies on results and performance 🎉

@ax3l ax3l merged commit 41353f6 into AMReX-Codes:development Sep 5, 2024
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants